class Tag < ActiveRecord::Base 
  has_many   :res_tag, :class_name =>"ResTag", :foreign_key=>"tag_id",
    :dependent=> :delete_all
  has_many  :resources, :through => :res_tag
end
